﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArgusLib.Fractals.OrbitFractals
{
	public class ParameterMultibrotSet : Parameter, IParameterMultibrot, ICloneable
	{
		public double Power { get; set; }

		public ParameterMultibrotSet(int pixelWidth, int pixelHeight)
			: base(pixelWidth, pixelHeight)
		{
			this.Power = 3;
		}

		public ParameterMultibrotSet Clone()
		{
			ParameterMultibrotSet clone = new ParameterMultibrotSet(this.PixelWidth, this.PixelHeight);
			clone.ShownArea = this.ShownArea;
			clone.Iterations = this.Iterations;
			clone.Power = this.Power;
			return clone;
		}

		object ICloneable.Clone()
		{
			return this.Clone();
		}
	}
}
